package net.sourceforge.peertwitter.mbpast.messaging;

import net.sourceforge.peertwitter.scamp.Swarm;
import rice.p2p.commonapi.NodeHandle;

public class StoreSwarmMessage extends MBPastMessageTemplate {

	private static final long serialVersionUID = 7269494195840238097L;
	private final Swarm swarm;

	public StoreSwarmMessage(NodeHandle sender, Swarm swarm) {
		super(sender);
		this.swarm = swarm;
	}

	@Override
	public int getPriority() {
		return MEDIUM_HIGH_PRIORITY;
	}

	public Swarm getSwarm() {
		return swarm;
	}

}
